projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4fda99
)
combobox: Remove unneeded queue_resize call
author
Timm Bäder
<mail@baedert.org>
Tue, 3 Oct 2017 08:55:19 +0000
(10:55 +0200)
committer
Timm Bäder
<mail@baedert.org>
Thu, 5 Oct 2017 08:21:47 +0000
(10:21 +0200)
The remove/add/set_parent/unparent calls in there already do the
necessary work.
gtk/gtkcombobox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcombobox.c
b/gtk/gtkcombobox.c
index 2245aac2b9f7ae9ed1fe85c36c84ae12ad8836ad..4bb6b51f14a097ce437988f9da4df3bc89c5c4c4 100644
(file)
--- a/
gtk/gtkcombobox.c
+++ b/
gtk/gtkcombobox.c
@@
-1228,7
+1228,6
@@
gtk_combo_box_add (GtkContainer *container,
gtk_container_remove (GTK_CONTAINER (gtk_widget_get_parent (priv->cell_view)),
priv->cell_view);
_gtk_bin_set_child (GTK_BIN (container), NULL);
- gtk_widget_queue_resize (GTK_WIDGET (container));
priv->cell_view = NULL;
}